package zhongbo.java.air.dictionary.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import zhongbo.java.air.dictionary.model.Airport;

import java.util.List;

public interface IAirportService extends IService<Airport> {

    Page<Airport> pageWithOrder(Page<Airport> page, String orderField, boolean isAsc);


    IPage<Airport> pageWithOrder(IPage<Airport> page, String orderField, boolean isAsc);
    

    Airport getByIcaoCode(String icaoCode);
    

    Airport getByIataCode(String iataCode);
    

    List<Airport> listByStatus(String status);
}
